﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Rights/RightsMaster.Master" AutoEventWireup="true" CodeBehind="DeptManPage.aspx.cs" Inherits="QuaManSys.Rights.DeptManPage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>部门授权管理</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphInner" runat="server">
<div>
<asp:Panel ID="ChildPanel" runat="server">
        <asp:Label ID="lblPerson" runat="server" Text="用户管理"></asp:Label>
        <asp:Button ID="btn_search" CssClass="smallbtn" runat="server" Text="查找" OnClick="btn_search_Click" />
        <asp:Panel ID="pnlPerson" runat="server" Visible="false">
            请输入部门搜索：<asp:TextBox ID="txt_name" CssClass="inputbox" runat="server"></asp:TextBox>
        </asp:Panel>
    </asp:Panel>    
    <div id="strinfo" runat="server" class="mbox pbox" visible="false">
    </div>

    <asp:GridView ID="DeptList" runat="server" DataKeyNames="Bmdm" CssClass="Grid" PageSize="15"
            AutoGenerateColumns="False">
            <FooterStyle CssClass="GridFooter" />
            <RowStyle CssClass="Row" />
            <Columns>
                <asp:BoundField DataField="Bmdm" HeaderText="部门" ReadOnly="True">
                    <ItemStyle HorizontalAlign="Left" Wrap="false" />
                    <HeaderStyle HorizontalAlign="Center" Wrap="False" />
                </asp:BoundField>
                <asp:HyperLinkField HeaderText="授权" Text="授权" DataNavigateUrlFields="Bmdm"
                        DataNavigateUrlFormatString="DeptGrant.aspx?department={0}" />
            </Columns>
            <HeaderStyle CssClass="HeadingCell" />
            <AlternatingRowStyle BorderStyle="None" CssClass="AlternatingRow" />
        </asp:GridView>
</div>
</asp:Content>
